import request from '@/utils/request';

export async function fakeAccountLogin(params) {
  return request('/cujin/ngic-promote-epauth/epUser/login', {
    method: 'POST',
    data: params,
  });
}


export async function fakeAccountLogout(params) {
  return request('/cujin/ngic-promote-epauth/epUser/logout', {
    method: 'POST',
    data: params,
  });
}


export async function userinfo(params) {
  return request('/cujin/ngic-promote-epauth/epUser/query', {
    method: 'POST',
    data: params,
  });
}

export async function getFakeCaptcha(mobile) {
  return request(`/cujin/login/captcha?mobile=${mobile}`);
}
